﻿
namespace RssReaderTemplate.Model
{
    public class TextFragment : ContentFragment
    {
        private string _innerText;
        private bool _isBold;
        private bool _isItalic;
        public TextFragment(string innerText, bool isBold, bool isItalic)
        {
            _innerText = innerText;
            _isBold = isBold;
            _isItalic = isItalic;
        }

        public string InnerText
        {
            get
            {
                return _innerText;
            }
            set
            {
                _innerText = value;
            }
        }

        public bool IsBold
        {
            get
            {
                return _isBold;
            }
        }

        public bool IsItalic
        {
            get
            {
                return _isItalic;
            }
        }
    }

}
